package com.yxboot.modules.audio.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yxboot.modules.audio.entity.AudioDetail;
import com.yxboot.modules.audio.mapper.AudioDetailMapper;
import org.springframework.stereotype.Service;
import com.yxboot.common.pagination.PageRequest;

/**
 *  业务实现类
 * @author exchenming
 * @date 2025-08-19
 */
@Service
public class AudioDetailService extends ServiceImpl<AudioDetailMapper, AudioDetail> {
    public IPage<AudioDetail> pageQuery(PageRequest pageRequest) {
        QueryWrapper<AudioDetail> wrapper = new QueryWrapper<>();
        return page(pageRequest.convertToPage(), wrapper);
    }
}